package com.naiterui.ehp.bs.cms.modules.base.vo;

import java.util.Date;

import com.naiterui.ehp.bs.cms.common.json.Dict;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author 潘xin
 * @since 2021/9/10
 */
@Data
public class DepartmentPageVO {
    @ApiModelProperty(value = "主键ID")
    private Integer id;
    @ApiModelProperty(value = "科室编码")
    private String code;
    @ApiModelProperty(value = "科室名称")
    private String name;
    @ApiModelProperty(value = "父类ID,当为0时表示一级科室")
    private int parentId;
    @ApiModelProperty(value = "上级科室")
    private String parentName;
    @Dict(type = "available")
    @ApiModelProperty(value = "是否有效")
    private Boolean available;
    @ApiModelProperty(value = "创建人")
    private String createdBy;
    @ApiModelProperty(value = "创建时间")
    private Date createdAt;
    @ApiModelProperty(value = "修改人")
    private String changedBy;
    @ApiModelProperty(value = "修改时间")
    private Date changedAt;
    @ApiModelProperty(value = "排序字段")
    private Integer sort;
}
